/**
 * 日志模型
 */

const mongoose = require('mongoose')
const LogSchema = mongoose.Schema({
  type: String, // 1:普通日志 2:报错 3:还单 4:拉单
  content: String,
  createTime: {
    type: Date,
    default: Date.now(),
  },
})

module.exports = mongoose.model('logs', LogSchema)
